package com.zlp.mybatisplus.mybatisplus.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 活动奖励模板
 * </p>
 *
 * @author zhulaiping
 * @since 2022-01-25
 */
@TableName("bcrm_award_template")
public class AwardTemplate extends Model<AwardTemplate> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 奖品id
     */
    @TableField("award_prize_id")
    private String awardPrizeId;

    /**
     * 奖品类型(1: 红包 2:积分 3:实物 4:虚拟 5:抽奖)
     */
    private Integer type;

    /**
     * 活动奖励模板名称
     */
    private String name;

    /**
     * 奖励类型 (1: 单次奖励 2: 阶梯奖励 3: 成列奖励 4: c端活动奖励)
     */
    @TableField("award_type")
    private Integer awardType;

    /**
     * 陈列场景(1：冰柜
  2：货架
  3：地堆
  4：不限)
     */
    @TableField("display_scene_type")
    private Integer displaySceneType;

    /**
     * 摆放结构
     */
    private Integer row;

    /**
     * 摆放结构
     */
    private Integer wide;

    /**
     * 摆放冰道/排面
     */
    private Integer layout;

    /**
     * 创建时间
     */
    @TableField("created_at")
    private Date createdAt;

    /**
     * 删除时间
     */
    @TableField("deleted_at")
    private Date deletedAt;

    /**
     * 修改时间
     */
    @TableField("updated_at")
    private Date updatedAt;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getAwardPrizeId() {
        return awardPrizeId;
    }

    public void setAwardPrizeId(String awardPrizeId) {
        this.awardPrizeId = awardPrizeId;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getAwardType() {
        return awardType;
    }

    public void setAwardType(Integer awardType) {
        this.awardType = awardType;
    }
    public Integer getDisplaySceneType() {
        return displaySceneType;
    }

    public void setDisplaySceneType(Integer displaySceneType) {
        this.displaySceneType = displaySceneType;
    }
    public Integer getRow() {
        return row;
    }

    public void setRow(Integer row) {
        this.row = row;
    }
    public Integer getWide() {
        return wide;
    }

    public void setWide(Integer wide) {
        this.wide = wide;
    }
    public Integer getLayout() {
        return layout;
    }

    public void setLayout(Integer layout) {
        this.layout = layout;
    }
    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
    public Date getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(Date deletedAt) {
        this.deletedAt = deletedAt;
    }
    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "AwardTemplate{" +
        "id=" + id +
        ", awardPrizeId=" + awardPrizeId +
        ", type=" + type +
        ", name=" + name +
        ", awardType=" + awardType +
        ", displaySceneType=" + displaySceneType +
        ", row=" + row +
        ", wide=" + wide +
        ", layout=" + layout +
        ", createdAt=" + createdAt +
        ", deletedAt=" + deletedAt +
        ", updatedAt=" + updatedAt +
        "}";
    }
}
